﻿@model BugTracker.Models.User
@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}

<fieldset>

<h2> Delete the User </h2>

    <div class="display-label">
        <b>Username:</b></div>
    <div class="display-field">
        @Html.DisplayFor(model => model.user_name)
    </div>

    <div class="display-label">
        <b>First Name:</b></div>
    <div class="display-field">
        @Html.DisplayFor(model => model.first_name)
    </div>

    <div class="display-label">
        <b>Last Name:</b></div>
    <div class="display-field">
        @Html.DisplayFor(model => model.last_name)
    </div>

    <div class="display-label">
        <b>Role:</b></div>
    <div class="display-field">
        @Html.DisplayFor(model => model.role_idFK)
    </div>

</fieldset>
<p>
Legend:
1 - Administrator
2 - Developer
3 - Quality Assurance
4 - Project Manager
</p>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "DeleteUser")
    </p>
}

